package com.xinpu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 门店信息表
 * </p>
 *
 * @author ayuan
 * @since 2021-04-27
 */
public class TCompanyInfo extends Model<TCompanyInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 门店编号
     */
    private Integer cid;

    /**
     * 门店名称
     */
    private String name;

    /**
     * 企业号
     */
    private String code;

    /**
     * 公司简介
     */
    private String intro;

    /**
     * 地址
     */
    private String address;

    /**
     * 详细地址
     */
    private String addressInfo;

    /**
     * 头像
     */
    private String portrait;

    /**
     * 租户编号
     */
    private String tenantId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddressInfo() {
        return addressInfo;
    }

    public void setAddressInfo(String addressInfo) {
        this.addressInfo = addressInfo;
    }

    public String getPortrait() {
        return portrait;
    }

    public void setPortrait(String portrait) {
        this.portrait = portrait;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "TCompanyInfo{" +
        "id=" + id +
        ", cid=" + cid +
        ", name=" + name +
        ", code=" + code +
        ", intro=" + intro +
        ", address=" + address +
        ", addressInfo=" + addressInfo +
        ", portrait=" + portrait +
        ", tenantId=" + tenantId +
        "}";
    }
}
